﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PhotoViewerDesktop
{
    public partial class FullSizePhoto : Form
    {
        //This form displays a picture in its full size
        public FullSizePhoto(Image image)
        {
            InitializeComponent();
            this.Width = image.Width + 50;
            this.Height = image.Height + 50;
            PBPhoto.Width = image.Width;
            PBPhoto.Height = image.Height;
            PBPhoto.Image = image;
        }

        private void FullSizePhoto_Load(object sender, EventArgs e)
        {
        }
    }
}
